page {
	-webkit-overflow-scrolling: touch; /*ios滑动不流畅*/
	background: #ffffff;
	color: #000000;
	font-size: 24rpx;
	box-sizing: border-box;
	min-height: 100vh;
}

img, image {
	display: block;
}
button::after {
	border: none;
}

view,
scroll-view,
swiper,
button,
input,
textarea,
label,
navigator,
image {
	box-sizing: border-box;
}
textarea {
	width: auto;
}

// 防止uni-toast被popup组件遮挡
uni-toast{
	z-index: 19999 !important;
}


// flex
.flex{
  display: flex;
}
.flex-row-center{
	justify-content: center;
}
.flex-col-center{
	align-items: center;
}
.flex-end{
	justify-content: flex-end;
}
.flex-col-end{
	align-items: flex-end;
}
.align-initial {
	align-items: initial !important;
}
.align-stretch {
	align-items: stretch !important;
	/*flex-wrap布局下使每一列内元素高度保持一致*/
}
.justify-between {
	justify-content: space-between;
}
.justify-center {
	justify-content: center;
}
.justify-end {
	justify-content: end;
}
.flex-col {
	flex-direction: column !important;
	/* flex单行 */
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-1 {
	flex: 1;
}
.flex-2 {
	flex: 0 0 50%;
}
.flex-3 {
	flex: 0 0 33.333%;
}
.flex-4 {
	flex: 0 0 25%;
}
// ==============================================================================
.m-w-30{
  min-width: 30rpx;
}
.m-w-170{
  min-width: 170rpx;
}
.m-w-40{
  min-width: 40rpx;
}
.w-100{
  width: 100%;
}
.w-94{
  width: 94%;
}
.w-60 {
	width: 60%;
}
.w-70 {
	width: 70%;
}
.w-90 {
	width: 90%;
}
.w-80{
  width: 80%;
}
.w-60{
  width: 60%;
}
.w-50{
  width: 50%;
}
.w-48{
  width: 48%;
}
.w-30{
  width: 33.3%;
}
.h-50{
  height: 50%;
}
.h-100{
  height: 100%;
}
@for $i from 1 to 200 {
	.m-l-#{$i} {
		margin-left: $i + rpx ;
	}
	.m-r-#{$i} {
		margin-right: $i + rpx ;
	}
	.m-t-#{$i} {
		margin-top: $i + rpx ;
	}
	.m-b-#{$i} {
		margin-bottom: $i + rpx ;
	}
	.p-l-#{$i} {
		padding-left: $i + rpx ;
	}
	.p-r-#{$i} {
		padding-right: $i + rpx ;
	}
	.p-t-#{$i} {
		padding-top: $i + rpx ;
	}
	.p-b-#{$i} {
		padding-bottom: $i + rpx ;
	}
	.p-#{$i}{
			padding: $i + rpx;
	}
	.b-r-#{$i} {
		border-radius: $i + rpx ;
	}
	.font-#{$i} {
		font-size: $i + rpx ;
	}
	.line-h-#{$i}{
			line-height: $i + rpx;
	}
}
.border-box{
  box-sizing: border-box;
}
.position-r{
  position: relative;
}
.position-a{
  position: absolute;
}
.position-f{
  position: fixed;
}
.b-r-10{
  border-radius: 10rpx;
}
.b-r-20{
  border-radius: 20rpx;
}
.text-left{
  text-align: left;
}
.color-r{
  color: #FF0000;
}
.color-b{
  color: #000000;
}
.color-w{
  color: #ffffff;
}
.color-g70{
  color: #03c627;
}
.color-g{
  color: #b3b3b3;
}
.color-gray{
  color: gray;
}
.color-c{
	color: #cfcfcf;
}
.font-b{
  font-weight: bold;
}
.font-light{
	font-weight: lighter;
}
.color-yellow{
	color: #ECA52B !important;
}
.color-primary{
	color: #1D1D20 !important;
}
.bg-yellow{
	background-color: #ECA52B !important;
}
.bg-primary{
	background-color: #1D1D20;
}
.bg-red{
  background-color: #ff0000;
}
.bg-white-f5{
  background-color: #f5f5f5;
}
.bg-red1{
  background-color: #e60000;
}
.bg-g{
  background-color: #f9f9f9;
}
.line-h-30{
  line-height: 30rpx;
}
.line-h-40{
  line-height: 40rpx;
}
.line-h-50{
  line-height: 50rpx;
}
.line-h-60{
  line-height: 60rpx;
}
.line-h-70{
  line-height: 70rpx;
}
.line-h-80{
  line-height: 80rpx;
}
.line-h-90{
  line-height: 90rpx;
}
.line-h-100{
  line-height: 100rpx;
}
.line-h-110{
  line-height: 110rpx;
}
.cursor{
  cursor: pointer;
}
.no-select{
  user-select: none;
}
.border-ccc{
	border-top: 2rpx solid rgba(204,204,204,0.3);
}
.border-c{
	border: 2rpx solid rgba(204,204,204, 1);
}
.border-r{
	border: 2rpx solid #e60000;
}
.noUse{
	text-decoration: line-through;
}
.text-overflow{
	width: 100rpx;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.inline-b{
	display: inline-block;
}
.inline{
	display: inline;
}
.defaultA {
	text-decoration: none; /* 去除默认的下划线 */
	outline: none;	/* 去除旧版浏览器的点击后的外虚线框 */
	color: #000;	/* 去除默认的颜色和点击后变化的颜色 */ 
}
.float-r{
	float: right;
}
.b-r-c{
	border-radius: 50%;
}
.text-overflow-one{
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.overflow-hidden{
	overflow: hidden;
}

.appPaddingTop {
  width: 100%;
  // padding-top:  var(--status-bar-height) ;//给组件加个上边距
  // padding-top:  env(safe-area-inset-top) ;//给组件加个上边距
  height: 44rpx;
}
.margin-center{
  margin: 0 auto;
}